package ooday02.animal;

public class AnimalText {
    public static void main(String[] args) {
        Dog xj=new Dog("小金",1,"金");
        xj.eat();
        xj.lookHome();
        xj.drink();
        System.out.println();

        Chick xh=new Chick("小黄",2,"黄");
        xh.eat();
        xh.layEggs();
        xh.drink();
        System.out.println();

        Flsh hh=new Flsh("灰灰",5,"灰");
        hh.eat();
        hh.drink();
    }


}
